package com.hddf.project.auth.dao;

import java.util.List;

import org.hibernate.Session;

import com.hddf.project.auth.pojos.User;


public interface UserDao {
	
	public boolean save(User user,Session s);
	
	public boolean delete(int id,Session s);
	
	public boolean update(User user,Session s);
	
	public User getUserByName(String name,Session s);
	
	public User getUserByFullName(String fullname, Session s);
	
	public User getUserByUser_No(String user_no, Session s);
	
	public User getUserById(int id,Session s);
	
	public boolean setUserOn(int id,Session s);
	
	public boolean setUserOff(int id,Session s);
	
	/*public List<User> getUsers(String start,String limit);
	public int getUsersTotalCount();*/

}
